package com.anolesoft.yr.mbus.cont.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 大客户正式合同主表
 */
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "cont_key_customer_main")
public class ContKeyCustomerMain implements Serializable {
    public static final String COL_OBJUID = "objuid";
    public static final String COL_CONT_CODE = "cont_code";
    public static final String COL_PATH = "path";
    public static final String COL_CUSTOMER_UID = "customer_uid";
    public static final String COL_C_USER_UID = "c_user_uid";
    public static final String COL_C_TIME = "c_time";
    public static final String COL_REMARK= "remark";
    /**
     * 主键
     */
    @TableId(value = "objuid")
    private String objuid;

    /**
     * 合同编号
     */
    @TableField(value = "cont_code")
    private String contCode;

    /**
     * 存储地址
     */
    @TableField(value = "`path`")
    private String path;

    /**
     * 客户主键
     */
    @TableField(value = "customer_uid")
    private String customerUid;

    /**
     * 公司主键
     */
    @TableField(value = "company_uid")
    private String companyUid;

    /**
     * 创建人
     */
    @TableField(value = "c_user_uid")
    private String cUserUid;

    /**
     * 创建时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(value = "c_time")
    private Date cTime;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    @TableField(exist = false)
    private Integer page;

    @TableField(exist = false)
    private Integer rows;
    @TableField(exist = false)
    private String tempContCode;
    private static final long serialVersionUID = 1L;

    public String getObjuid() {
        return objuid;
    }

    public void setObjuid(String objuid) {
        this.objuid = objuid;
    }

    public String getContCode() {
        return contCode;
    }

    public void setContCode(String contCode) {
        this.contCode = contCode;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getCustomerUid() {
        return customerUid;
    }

    public void setCustomerUid(String customerUid) {
        this.customerUid = customerUid;
    }

    public String getCompanyUid() {
        return companyUid;
    }

    public void setCompanyUid(String companyUid) {
        this.companyUid = companyUid;
    }

    public String getcUserUid() {
        return cUserUid;
    }

    public void setcUserUid(String cUserUid) {
        this.cUserUid = cUserUid;
    }

    public Date getcTime() {
        return cTime;
    }

    public void setcTime(Date cTime) {
        this.cTime = cTime;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getRows() {
        return rows;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public String getTempContCode() {
        return tempContCode;
    }

    public void setTempContCode(String tempContCode) {
        this.tempContCode = tempContCode;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}